#include "stdio.h"
#include "list.h"
struct str{
	char s[20];
}string = {"hello world gg\r\n"},hahaStr = {"haha\r\n"};

int main(void)
{
	ListNode* h1 = CreateListNode();
	ListNode* h2 = CreateListNode();
	ListNode* h3 = CreateListNode();
	ListNode* list = ListInit();
	ListPushBack(list,h1);
	ListPushBack(list,h2);
	ListPushBack(list,h3);

	int len = ListLength(list);
	printf("链表长度为%d\n",len);
	Listprint(list);
	

	// p->data = 13;
	// Listprint(list);
	// ListInsert(list,p,4);
	// Listprint(list);
	return 0;
}
